//
//  RecommendSecondModel.m
//  NBTripe
//
//  Created by Lee on 16/1/8.
//  Copyright © 2016年 Vicki. All rights reserved.
//

#import "RecommendSecondModel.h"

@implementation RecommendSecondModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"user"]) {
        NSDictionary *dic = value;
       self.usermodel = [[UserModel alloc] initWithDataSource:dic];
    }
    if ([key isEqualToString:@"url"]) {
        self.urls = value;
    }
    if ([key isEqualToString:@"id"]) {
        self.joinedId = value;
    }
    
}

@end
